/*
 * Copyright (c) 2006 jNetX.
 * http://www.jnetx.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * jNetX. You shall not disclose such Confidential Information and
 * shall use it only in accordance with the terms of the license
 * agreement you entered into with jNetX.
 *
 * $Id$
 */
package com.jnetx.javax.sip;

import com.jnetx.javax.sip.address.*;
import com.jnetx.javax.sip.header.*;
import com.jnetx.javax.sip.message.SIPRequestParserTest;
import com.jnetx.javax.sip.message.SIPRequestTest;
import com.jnetx.javax.sip.util.ByteArrayUtilTest;
import com.jnetx.javax.sip.util.CharacterTreeTest;
import junit.framework.TestSuite;

/**
 * @author <a href="mailto:dparhonin@jnetx.ru">Dmitry Parhonin</a>
 * @version $Revision$
 */
public class SipTestSuite {
    public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(new SipURIParserTest("testParsing"));
        suite.addTest(new SipURIImplTest("testSimpleCreation"));
        suite.addTest(new SipURIImplTest("testCreation"));
        suite.addTest(new SipURIImplTest("testLazyCreation"));
        suite.addTest(new SipURIImplTest("testClone"));
        suite.addTest(new SipURIImplTest("testToString"));
        suite.addTest(new MailtoURIImplTest("testSimpleCreation"));
        suite.addTest(new MailtoURIImplTest("testToString"));
        suite.addTest(new MailtoURIImplTest("testLazyCreation"));
        suite.addTest(new MailtoURIImplTest("testClone"));
        suite.addTest(new AddressParserTest("testParsing"));
        suite.addTest(new AddressParserTest("testNoDisplayName"));
        suite.addTest(new TelURLParserTest("testParsing"));
        suite.addTest(new TelURLImplTest("testSimpleCreation"));
        suite.addTest(new TelURLImplTest("testCreation"));
        suite.addTest(new TelURLImplTest("testToString"));
        suite.addTest(new TelURLImplTest("testLazyCreation"));
        suite.addTest(new HttpURIParserTest("testParsing"));
        suite.addTest(new AddressImplTest("testCreation"));
        suite.addTest(new AddressImplTest("testDisplayNameLazily"));
//        suite.addTest(new SIPRequestParserTest("testFullParsing"));
        suite.addTest(new SIPRequestParserTest("testSimpleParsing"));
        suite.addTest(new SIPRequestTest("testLazyCreation"));
        suite.addTest(new CharacterTreeTest("testSimple"));
        suite.addTest(new ByteArrayUtilTest("test"));
        suite.addTest(new ByteArrayUtilTest("testLastMissing"));
        suite.addTest(new ByteArrayUtilTest("testEquals"));
        suite.addTest(new ByteArrayUtilTest("testParseInteger"));
        suite.addTest(new ByteArrayUtilTest("testStartsWith"));
        
        suite.addTest(new AcceptHeaderParserTest("test"));
        suite.addTest(new AcceptLanguageHeaderParserTest("test"));
        suite.addTest(new ViaHeaderParserTest("test"));
        suite.addTest(new AlertInfoHeaderParserTest("test"));
        suite.addTest(new AllowHeaderParserTest("test"));
        suite.addTest(new AuthenticationInfoHeaderParserTest("test"));
        suite.addTest(new AuthorizationHeaderParserTest("test"));
        suite.addTest(new CSeqHeaderParserTest("test"));
        suite.addTest(new CallIdHeaderParserTest("test"));
        suite.addTest(new AllowEventsHeaderParserTest("test"));
        suite.addTest(new CallInfoHeaderParserTest("test"));
        suite.addTest(new ContactHeaderParserTest("test"));
        suite.addTest(new ContentDispositionHeaderParserTest("test"));
        suite.addTest(new ContentEncodingHeaderParserTest("test"));
        suite.addTest(new ContentLanguageHeaderParserTest("test"));
        suite.addTest(new ContentTypeHeaderParserTest("test"));
        suite.addTest(new DateHeaderParserTest("test"));
        suite.addTest(new ErrorInfoHeaderParserTest("test"));
        suite.addTest(new EventHeaderParserTest("test"));
        suite.addTest(new ExpiresHeaderParserTest("test"));
        suite.addTest(new FromHeaderParserTest("test"));
        suite.addTest(new InReplyToHeaderParserTest("test"));
        suite.addTest(new MimeVersionHeaderParserTest("test"));
        suite.addTest(new MinExpiresHeaderParserTest("test"));
        suite.addTest(new OrganizationHeaderParserTest("test"));
        suite.addTest(new PriorityHeaderParserTest("test"));
        suite.addTest(new ProxyAuthenticateHeaderParserTest("test"));
        suite.addTest(new ProxyAuthorizationHeaderParserTest("test"));
        suite.addTest(new ProxyRequireHeaderParserTest("test"));
        suite.addTest(new RAckHeaderParserTest("test"));
        suite.addTest(new ExpiresHeaderParserTest("test"));
        suite.addTest(new ReasonHeaderParserTest("test"));
        suite.addTest(new RecordRouteHeaderParserTest("test"));
        suite.addTest(new ReplyToHeaderParserTest("test"));
        suite.addTest(new ReferToHeaderParserTest("test"));
        suite.addTest(new RequireHeaderParserTest("test"));
        suite.addTest(new RetryAfterHeaderParserTest("test"));
        suite.addTest(new RetryAfterHeaderParserTest("test2"));
        suite.addTest(new RouteHeaderParserTest("test"));
        suite.addTest(new ServerHeaderParserTest("test"));
        suite.addTest(new SubjectHeaderParserTest("test"));
        suite.addTest(new SubscriptionStateHeaderParserTest("test"));
        suite.addTest(new SupportedHeaderParserTest("test"));
        suite.addTest(new TimeStampHeaderParserTest("test"));
        suite.addTest(new TimeStampHeaderParserTest("test2"));
        suite.addTest(new ToHeaderParserTest("test"));

        suite.addTest(new SipStackImplTest("test"));
        suite.addTest(new SipProviderImplTest("test"));

        return suite;
    }
}
/*
 * $Log$
 */